package com.qf.commerce.service;

import com.github.pagehelper.PageInfo;
import com.qf.commerce.common.dto.DistributorProductsDto;
import com.qf.commerce.common.vo.DistributorProductsVo;
import com.qf.commerce.entity.DistributorProducts;

/*
 * @author 358
 * @since JDK 1.8
 * @data 2023/9/14 9:48
*/

public interface DistributorProductsService{
    int updateByPrimaryKeySelective(DistributorProducts record);

    int updateByPrimaryKey(DistributorProducts record);

    int addProducts(DistributorProductsDto dpd);

    int updateProducts(DistributorProductsDto dpd);

    PageInfo<DistributorProductsVo> listAll(Integer page, Integer size);
}
